INSERT INTO ue_v_CONUBIFRN  select DISTINCT CUF.* from v_conubifrn cuf,FATTURAS S,UE_V_FATTURAT T where 
T.TFAT_ID=S.TFAT_ID
AND S.CUF_ID=CUF.CUF_ID
AND S.AZ_ID=01
AND T.AZ_ID=01